package com.nzw.pojo.commodity;

import javax.persistence.Column;
import javax.persistence.Table;

@Table(name="t_main_img")
public class MainImage {

    private Long id;
    private String img;
    private Long commodityId;

    @Column(name="id")
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    @Column(name="img")
    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }
    @Column(name="commodityId")
    public Long getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(Long commodityId) {
        this.commodityId = commodityId;
    }
}
